<div class="page-right">
            <div id="toolbar-box">
                    <div class="m">
                        <div class="pagetitle icon-48-cart">
                          <h2 style="width: 400px; text-indent: 0px;">Chi tiết đơn hàng</h2> 
                        </div>
                    </div> <!-- End m -->
            </div><!-- End toolbar-box -->
            
           <div class="detail-cart">
                <table width="50%" border="0">
                    <tr height="30px">
                        <td>Tên khách hàng</td>
                        <td><?php echo $item[0]->customer_name;?></td> 
                    </tr>
                    <tr height="30px">
                        <td>Địa chỉ</td>
                        <td><?php echo $item[0]->customer_address;?> </td> 
                    </tr>
                    <tr height="30px">
                        <td>Điện thoại</td>
                        <td><?php echo $item[0]->customer_phone;?></td> 
                    </tr>
                    <tr height="30px">
                        <td>Địa chỉ giao hàng</td>
                        <td><?php echo $item[0]->customer_address;?></td> 
                    </tr>
                    <tr height="30px">
                        <td>Trạng thái đơn hàng</td>
                        <td>Chưa xác nhận</td> 
                    </tr>
                    <tr height="30px">
                        <td>Phí giao hàng</td>
                        <td><?php echo number_format($item[0]->cart_shipping,0);?> VNĐ</td> 
                    </tr>
                    <tr height="30px">
                        <td>Trị giá đơn hàng</td>
                        <td><?php echo number_format($item[0]->cart_total_price-$item[0]->cart_shipping,0);?> VNĐ</td> 
                    </tr>
                    <tr height="30px">
                        <td>Tổng tiền</td>
                        <td><span style="color: red;font-weight:bold;font-size:15px;"><?php echo number_format($item[0]->cart_total_price,0);?> </span> VNĐ</td> 
                    </tr>
                </table>
           
           </div><!-- End detail-cart -->
            
            
         <!-- BEGIN TABLE LIST -->   
                <form  name="adminForm" action="<?php echo base_url();?>admin/cart/action" method="post"> 
                    <table class="wp-list-table widefat fixed posts" cellspacing="0">
                	<thead>
                	<tr>
                        <th scope='col' class='manage-column'><span>Tên sản phẩm</span></th>
                        <th scope='col' class='manage-column'><span>Số lượng</span></th>
                        <th scope='col'  class='manage-column'><span>Đơn giá</span></th>
                        <th scope='col'  class='manage-column'><span>Thành tiền</span></th>
                        		
                    </tr>
                	</thead>
                	<tbody id="the-list">
                        <?php foreach($item as $items){ ?>
                				<tr id="post-1" class="post-1 post type-post status-publish format-standard hentry category-uncategorized alternate iedit author-self" valign="top">
                    			
               						<td class="post-title page-title column-title"><strong><a class="row-title" href="<?php echo base_url();?>admin/cart/detail/<?php echo $items->cart_id;?>"><?php echo $items->product_name;?></a></strong>
                                    </td>
                                    <td class="author column-author">
                                        <?php echo $items->cart_product_quanlity;?>
                                    </td>
                                    
                                    <td class="author column-author">
                                        <?php echo number_format($items->cart_product_price,0);?>
                                    </td>
               						<td class="author column-author">
                                        <?php echo number_format($items->cart_product_price * $items->cart_product_quanlity,0);?>
                                    </td>
                            </tr>
                            <?php } ?>
                		</tbody>
                        <input type="hidden" value="" name="boxchecked" id="boxchecked"/>
                        <input type="hidden" value="" name="task"/>
                </table>
                <!-- END TABLE LIST -->   
        </form>
</div> <!-- End page-right -->